package com.ctshk.rpc.finance.req.onaccount;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 查询额度req
 */
@Data
@ApiModel(value = "QueryQuotaReq",description = "查询额度req")
public class QueryQuotaReq implements Serializable {

    @NotNull(message = "账户类型不能为空")
    @ApiModelProperty(value = "账户类型 1 大客户/代理商挂账,2 内部中心挂账",required = true)
    private Integer accountType;

    @ApiModelProperty(value = "账号ID（大客户/代理商挂账）")
    private Long accountId;

    @ApiModelProperty(value = "部门ID（内部中心挂账）")
    private Long deptId;

    @NotNull(message = "币种ID不能为空")
    @ApiModelProperty(value = "币种ID",required = true)
    private Long currencyId;

    @NotNull(message = "业务类型不能为空")
    @ApiModelProperty(value = "业务类型",required = true)
    private Integer businessType;

}
